/**
 * 
 */
package com.gragra.benchmark.tests;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.StringReader;
import java.io.StringWriter;
import org.junit.Before;
import org.junit.Test;
import com.gragra.benchmark.RunSingleDepdMultipleTimes;
/**
 * @author Christoph Teichmann
 * 22.09.2013
 */
public class TestRunSingleDepdMultipleTimes
{
	/**
	 * 
	 */
	private String s;
	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception
	{
		StringWriter sw = new StringWriter();
		BufferedWriter bw = new BufferedWriter(sw);
		StringReader lr = new StringReader("this|0 is|1 a|2 sentence|3 .|4");
		BufferedReader lb = new BufferedReader(lr);
		StringReader gr = new StringReader("1 5 1 2 1\n1 4 3 1 5");
		BufferedReader gb = new BufferedReader(gr);
		StringReader pr = new StringReader("100 5 0.01 5.0 1 10 2\n50 5 0.01 5.0 2 5 1");
		BufferedReader pb = new BufferedReader(pr);
		new RunSingleDepdMultipleTimes(lb, gb, pb, bw);
		lb.close();
		gb.close();
		pb.close();
		bw.close();
		s = sw.toString();
	}
	/**
	 * Test method for {@link com.gragra.benchmark.RunSingleDepdMultipleTimes#RunSingleDepdMultipleTimes(java.io.BufferedReader, java.io.BufferedReader, java.io.BufferedReader, java.io.BufferedWriter)}.
	 */
	@Test
	public void testRunSingleDepdMultipleTimes()
	{
		System.out.println(s);
	}
}